<!DOCTYPE html>
<html lang="">

<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width,initial-scale=1.0">
  <link rel="icon" href="<%= BASE_URL %>favicon.ico">
  <!-- 按需渲染页面的标题 -->
  <title>
    <%= htmlWebpackPlugin.options.isProd ? '' : 'dev - ' %>
      电商后台管理系统
  </title>
  <!-- 按需加载外部的 CDN 资源  -->
  <% if(htmlWebpackPlugin.options.isProd) { %>

    <!-- nprogress 的样式表文件 -->
    <link rel="stylesheet" href="https://cdn.staticfile.org/nprogress/0.2.0/nprogress.min.css" />
    <!-- 富文本编辑器 的样式表文件 -->
    <link rel="stylesheet" href="https://cdn.staticfile.org/quill/1.3.4/quill.core.min.css" />
    <link rel="stylesheet" href="https://cdn.staticfile.org/quill/1.3.4/quill.snow.min.css" />
    <link rel="stylesheet" href="https://cdn.staticfile.org/quill/1.3.4/quill.bubble.min.css" />

    <script src="https://cdn.staticfile.org/vue/2.5.22/vue.min.js"></script>

    <!-- <script src="https://cdn.staticfile.org/vue-router/3.5.2/vue-router.min.js"></script> -->
    <script src="https://unpkg.com/vue-router/dist/vue-router.js"></script>
    <!-- <script crossorigin="anonymous"
      integrity="sha512-LtsxN1tOB8wfhgkuqBO1wCMKZXC/ryjkJkiRuwTVZrwThXsePPK7J4N4TSrchwIkscHPdo6LdVs1srFQ8MbtHA=="
      src="https://lib.baomitu.com/vue-router/3.5.2/vue-router.common.min.js"></script> -->

    <script src="https://cdn.staticfile.org/axios/0.18.0/axios.min.js"></script>
    <script src="https://cdn.staticfile.org/lodash.js/4.17.11/lodash.min.js"></script>
    <script src="https://cdn.staticfile.org/echarts/5.1.2/echarts.min.js"></script>
    <script src="https://cdn.staticfile.org/nprogress/0.2.0/nprogress.min.js"></script>
    <!-- 富文本编辑器的 js 文件 -->
    <script src="https://cdn.staticfile.org/quill/1.3.4/quill.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/vue-quill-editor@3.0.4/dist/vue-quill-editor.js"></script>
    <script src="https://cdn.bootcss.com/moment.js/2.20.1/moment.min.js"></script>
    <script src="https://cdn.bootcss.com/moment.js/2.20.1/locale/zh-cn.js"></script>

    <!-- element-ui 的样式表文件 -->
    <!-- <link rel="stylesheet" href="https://cdn.staticfile.org/element-ui/2.15.5/themechalk/index.css" /> -->
    <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
    <!-- element-ui 的 js 文件 -->
    <script src="https://cdn.staticfile.org/element-ui/2.15.5/index.js"></script>
    <!-- 通过 externals 加载的外部 CDN 资源 -->
    <% } %>

</head>

<body>
  <noscript>
    <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled.
        Please enable it to continue.</strong>
  </noscript>
  <div id="app"></div>
  <!-- built files will be auto injected -->
</body>

</html>